package com.tledu.mybatis01.mapper;

import com.tledu.mybatis01.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Antg
 * @date 2021/8/216:43
 */
public interface StudentMapper {

    public Student findOneById(Integer id);

    public List<Student> findAll();

    public int add(Student student);

    public int edit(Student student);

    public int del(Integer id);

}
